/**
 * 
 */
package br.ifpb.edu.uml.elements;

/**
 * @author iponts
 *
 */
public class AttributeSimp {

	private String type;
	private String name;
	
	public AttributeSimp( String a, String b ) {
		setType( a );
		setName( b );
	}
	
	public AttributeSimp( ) {
		
	}

	public String getName() {
		return name;
	}
	public String getType() {
		return type;
	}
	
	public void setName(String name) {
		if( ( name != null ) && ( name.length( ) > 0 ) && ( name.length( ) < 100 ) && ( name.indexOf( "\n" ) == -1 ) )
		this.name = name;
	}
	public void setType(String type) {
		this.type = type;
	}
	
	
	
}
